package com.bean;

import java.io.Serializable;
import java.util.Date;

public class Movie implements Serializable {

    private Integer id;
    private String movieName;
    private String director;
    private String performer;
    private String type;
    private String language;
    private Date showTime;
    private Double price;
    private Integer duration;
    private String Image;
    private Double score;
    private String brief;
    private String region;
    private Integer state;
    private Integer spare;


    public Movie() {
    }

    public Movie(Integer id) {
        this.id = id;
    }

    public Movie(String movieName, String director, String performer, String type, String language, Date showTime, Double price, Integer duration, String image, Double score, String brief, String region, Integer state, Integer spare) {
        this.movieName = movieName;
        this.director = director;
        this.performer = performer;
        this.type = type;
        this.language = language;
        this.showTime = showTime;
        this.price = price;
        this.duration = duration;
        Image = image;
        this.score = score;
        this.brief = brief;
        this.region = region;
        this.state = state;
        this.spare = spare;
    }

    public Movie(Integer id, String movieName, String director, String performer, String type, String language, Date showTime, Double price, Integer duration, String image, Double score, String brief, String region, Integer state, Integer spare) {
        this.id = id;
        this.movieName = movieName;
        this.director = director;
        this.performer = performer;
        this.type = type;
        this.language = language;
        this.showTime = showTime;
        this.price = price;
        this.duration = duration;
        Image = image;
        this.score = score;
        this.brief = brief;
        this.region = region;
        this.state = state;
        this.spare = spare;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", movieName='" + movieName + '\'' +
                ", director='" + director + '\'' +
                ", performer='" + performer + '\'' +
                ", type='" + type + '\'' +
                ", language='" + language + '\'' +
                ", showTime=" + showTime +
                ", price=" + price +
                ", duration=" + duration +
                ", Image='" + Image + '\'' +
                ", score=" + score +
                ", brief='" + brief + '\'' +
                ", region='" + region + '\'' +
                ", state=" + state +
                ", spare=" + spare +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getPerformer() {
        return performer;
    }

    public void setPerformer(String performer) {
        this.performer = performer;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public Date getShowTime() {
        return showTime;
    }

    public void setShowTime(Date showTime) {
        this.showTime = showTime;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getImage() {
        return Image;
    }

    public void setImage(String image) {
        Image = image;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getSpare() {
        return spare;
    }

    public void setSpare(Integer spare) {
        this.spare = spare;
    }
}
